LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetChannelSamples16(Int16[],Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformChannel Class > SetChannelSamples16 Method : SetChannelSamples16(Int16[],Int32) Method



samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer
samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer
Sets 16-bit data for a channel.

Syntax

Visual Basic (Declaration) 
Overloads Public Function SetChannelSamples16( _
   ByVal samples() As Short, _
   ByVal count As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformChannel
Dim samples() As Short
Dim count As Integer
Dim value As Integer
 
value = instance.SetChannelSamples16(samples, count)
C# 
public int SetChannelSamples16( 
   short[] samples,
   int count
)
C++/CLI 
public:
int SetChannelSamples16( 
   array<short>^ samples,
   int count
) 

Parameters

samples
Buffer that holds the new channel sample
count
Size of the channel sample buffer

Return Value

The actual number of samples set for the channel.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Remarks

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features